package com.bl.student.service.vo.goods;

import com.bl.student.common.enums.GoodsType;
import com.bl.student.common.enums.OnlineStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import java.util.Date;

/**
 * Created by liangweikang on 18/2/27.
 */
@Data
@ApiModel(value="增加商品信息", description="增加商品信息body", discriminator = "增加商品信息body")
public class GoodsAddVo {

    @ApiModelProperty(value = "商品图")
    private String image;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "简介")
    private String description;

    @ApiModelProperty(value = "权重")
    private int weight;

    @ApiModelProperty(value = "价格")
    private int point;

    @ApiModelProperty(value = "数量")
    private int num;

    @ApiModelProperty(value = "备注")
    private String remark;

    @Enumerated(EnumType.STRING)
    @ApiModelProperty(value = "状态")
    private OnlineStatus status;

    private String longImage;

}
